package com.park.model;

import java.util.List;

public class Paging {
	private int startPage;
	private int pageSize;
	private int allCount;
	private List<?> data;
	
	
	public Paging() {
		super();
	}
	
	public Paging(int startPage, int pageSize, int allCount, List<?> data) {
		super();
		this.startPage = startPage;
		this.pageSize = pageSize;
		this.allCount = allCount;
		this.data = data;
	}
	
	

	public Paging(int startPage, int pageSize) {
		super();
		this.startPage = startPage;
		this.pageSize = pageSize;
	}

	@Override
	public String toString() {
		return "Paging [startPage=" + startPage + ", pageSize=" + pageSize + ", allCount=" + allCount + ", data=" + data
				+ "]";
	}
	public int getStartPage() {
		return startPage;
	}
	public void setStartPage(int startPage) {
		this.startPage = startPage;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getAllCount() {
		return allCount;
	}
	public void setAllCount(int allCount) {
		this.allCount = allCount;
	}
	public List<?> getData() {
		return data;
	}
	public void setData(List<?> data) {
		this.data = data;
	}
	
	
}
